package rt

import "errors"

// type errRowNotFound struct{}

var ErrRowNotFound = errors.New("row not exists")

// func (e errRowNotFound) Error() string {
// 	return "row not exists"
// }

// func NewErrRowNotFound() error {
// 	return &errRowNotFound{}
// }

func IsRowNotFound(err error) bool {
	// _, ok := err.(*errRowNotFound)
	return ErrRowNotFound == err
}
